﻿#pragma once


// DlgSetTray 对话框

class DlgSetTray : public CDialogEx
{
	DECLARE_DYNAMIC(DlgSetTray)

public:
	DlgSetTray( CArray<int> * pTrays, int nTray, CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~DlgSetTray();

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_SETTRAY };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持

	DECLARE_MESSAGE_MAP()
public:
	// 托类型列表
	CListBox m_listTray;
	CArray<int>* m_pTrays;
	int m_nTray;


	virtual BOOL OnInitDialog();

	
	afx_msg void OnBnClickedOk();
};
